package pe.gob.inei.fx.lib.component.styles.pod
{
	import mx.controls.Alert;
	import mx.styles.CSSStyleDeclaration;
	
	public class MinimizeStyle extends CSSStyleDeclaration {
		
		private static var _instance:MinimizeStyle;
		
		[Embed(source="../../../../images/pod/minimize_up.png")]
		private var minimizeUpDwButtonClass:Class;
		[Embed(source="../../../../images/pod/minimize_over.png")]
		private var minimizeOverButtonClass:Class;
		
		public function MinimizeStyle(singleton:Singleton_){
			setStyle("upSkin", minimizeUpDwButtonClass);
			setStyle("overSkin", minimizeOverButtonClass);
			setStyle("downSkin", minimizeUpDwButtonClass);
		}
		
		public static function instance():MinimizeStyle {
			if(MinimizeStyle._instance == null)
				MinimizeStyle._instance = new MinimizeStyle(new Singleton_());
			return MinimizeStyle._instance;
		}
	}
}

class Singleton_{}